	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_mod_exp_mont                ## -- Begin function BN_mod_exp_mont
	.p2align	4, 0x90
_BN_mod_exp_mont:                       ## @BN_mod_exp_mont
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -128(%rbp)                 ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TABLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%rbx, %rdi
	callq	_bn_check_top
	movq	%r15, %rdi
	callq	_bn_check_top
	movq	%r13, %rdi
	callq	_bn_check_top
	movq	(%r13), %rcx
	xorl	%eax, %eax
	testb	$1, (%rcx)
	je	LBB0_53
## %bb.1:
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_BN_num_bits
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movq	%r12, %rdi
	callq	_BN_CTX_start
	movq	%r12, %rdi
	callq	_BN_CTX_get
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_BN_CTX_get
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	testq	%r15, %r15
	movq	%r12, %r15
	je	LBB0_11
## %bb.3:
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_BN_init
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_BN_ucmp
	testq	%rax, %rax
	js	LBB0_12
## %bb.6:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_BN_mod
	movq	%r14, %rbx
	testl	%eax, %eax
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_13
## %bb.7:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_46
LBB0_8:
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_BN_one
	movl	$1, %eax
	jmp	LBB0_53
LBB0_9:
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rcx, %r12
	callq	_BN_MONT_CTX_new
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movq	%r13, %rsi
	movq	%r15, %rdx
	callq	_BN_MONT_CTX_set
	movq	%r12, %rcx
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_46
LBB0_11:
	movq	%r15, %rdi
	callq	_BN_CTX_end
	xorl	%eax, %eax
	jmp	LBB0_53
LBB0_12:
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_13:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_BN_to_montgomery
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	testl	%eax, %eax
	je	LBB0_39
## %bb.14:
	movl	%r12d, %edi
	callq	_BN_window_bits_for_exponent_size
                                        ## kill: def $eax killed $eax def $rax
	movl	$1, %edx
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	cmpl	$2, %eax
	jl	LBB0_21
## %bb.15:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	%r15, %r8
	callq	_BN_mod_mul_montgomery
	testl	%eax, %eax
	je	LBB0_39
## %bb.16:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leal	-1(%rax), %ecx
	movl	$1, %edx
	movl	$1, %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	cmpl	$2, %eax
	jl	LBB0_21
## %bb.17:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	%eax, %r15d
	decq	%r15
	movq	%r14, %rbx
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r13
	addq	$8, %rbx
	movq	%rbx, %rdi
	callq	_BN_init
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_BN_mod_mul_montgomery
	testl	%eax, %eax
	je	LBB0_43
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	decq	%r15
	jne	LBB0_18
## %bb.20:
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
LBB0_21:
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_BN_value_one
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_BN_to_montgomery
	testl	%eax, %eax
	je	LBB0_40
## %bb.22:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	decl	%r12d
	movb	$1, %al
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	xorl	%r15d, %r15d
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_24 Depth=1
	subl	$1, %r12d
	jb	LBB0_38
LBB0_24:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_29 Depth 2
                                        ##     Child Loop BB0_34 Depth 2
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_BN_is_bit_set
	testq	%rax, %rax
	jne	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	testb	$1, %r15b
	je	LBB0_23
## %bb.26:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	%r13, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	callq	_BN_mod_mul_montgomery
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_44
LBB0_27:                                ##   in Loop: Header=BB0_24 Depth=1
	cmpl	$2, -104(%rbp)                  ## 4-byte Folded Reload
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jl	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=1
	leal	-1(%r12), %ebx
	xorl	%r13d, %r13d
	movl	$1, %r15d
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_29:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%ebx, %ebx
	js	LBB0_32
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	%ebx, %esi
	callq	_BN_is_bit_set
	movl	%r15d, %ecx
	subl	%r13d, %ecx
	movl	%r12d, %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	$1, %edx
	testq	%rax, %rax
	cmovnel	%r15d, %r13d
	cmovnel	%edx, %r12d
	incl	%r15d
	decl	%ebx
	cmpl	%r15d, -104(%rbp)               ## 4-byte Folded Reload
	jne	LBB0_29
	jmp	LBB0_32
LBB0_31:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	$1, %r12d
	xorl	%r13d, %r13d
LBB0_32:                                ##   in Loop: Header=BB0_24 Depth=1
	testl	%r13d, %r13d
	sets	%al
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	orb	%al, %cl
	testb	$1, %cl
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_36
## %bb.33:                              ##   in Loop: Header=BB0_24 Depth=1
	leal	1(%r13), %ebx
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_24 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	movq	%rdi, %rdx
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_BN_mod_mul_montgomery
	testl	%eax, %eax
	je	LBB0_40
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=2
	decl	%ebx
	jne	LBB0_34
LBB0_36:                                ##   in Loop: Header=BB0_24 Depth=1
	sarl	%r12d
	movslq	%r12d, %rax
	leaq	(%r14,%rax,8), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, %rsi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	callq	_BN_mod_mul_montgomery
	testl	%eax, %eax
	je	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_24 Depth=1
	notl	%r13d
	movl	$0, -88(%rbp)                   ## 4-byte Folded Spill
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	addl	%r13d, %r12d
	movb	$1, %r15b
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	jns	LBB0_24
LBB0_38:
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rcx
	callq	_BN_from_montgomery
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_46
LBB0_39:
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_46
LBB0_40:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_46
LBB0_43:
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_45
LBB0_44:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_45:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_46:
	cmpq	$0, -128(%rbp)                  ## 8-byte Folded Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_49
## %bb.47:
	testq	%rdi, %rdi
	je	LBB0_49
## %bb.48:
	callq	_BN_MONT_CTX_free
LBB0_49:
	movq	%r15, %rdi
	callq	_BN_CTX_end
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	jle	LBB0_52
## %bb.50:
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_51:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_BN_clear_free
	addq	$8, %r14
	decq	%rbx
	jne	LBB0_51
LBB0_52:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
LBB0_53:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_56
## %bb.54:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_56:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TABLE_SIZE,4,2                 ## @TABLE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BN_mod_exp_mont                ; -- Begin function BN_mod_exp_mont
	.p2align	2
_BN_mod_exp_mont:                       ; @BN_mod_exp_mont
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #48
	mov	x23, x5
	mov	x20, x4
	mov	x21, x3
	mov	x24, x2
	mov	x26, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _TABLE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TABLE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x19, x9, x8
	mov	sp, x19
	mov	x0, x1
	bl	_bn_check_top
	mov	x0, x24
	bl	_bn_check_top
	mov	x0, x21
	bl	_bn_check_top
	ldr	x8, [x21]
	ldrb	w8, [x8]
	tbnz	w8, #0, LBB0_2
; %bb.1:
	mov	w23, #0
	b	LBB0_50
LBB0_2:
	mov	x0, x24
	bl	_BN_num_bits
	cbz	w0, LBB0_16
; %bb.3:
	mov	x27, x0
	stur	x22, [x29, #-104]               ; 8-byte Folded Spill
	mov	x0, x20
	bl	_BN_CTX_start
	mov	x0, x20
	bl	_BN_CTX_get
	mov	x28, x0
	mov	x0, x20
	bl	_BN_CTX_get
	cbz	x28, LBB0_21
; %bb.4:
	mov	x25, x0
	cbz	x0, LBB0_21
; %bb.5:
	mov	x22, x23
	stur	x23, [x29, #-112]               ; 8-byte Folded Spill
	cbz	x23, LBB0_18
LBB0_6:
	mov	x0, x19
	bl	_BN_init
	mov	x0, x26
	mov	x1, x21
	bl	_BN_ucmp
	tbnz	x0, #63, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x1, x26
	mov	x2, x21
	mov	x3, x20
	bl	_BN_mod
	mov	x26, x19
	cbz	w0, LBB0_17
LBB0_8:
	mov	x0, x19
	mov	x1, x26
	mov	x2, x22
	mov	x3, x20
	bl	_BN_to_montgomery
	cbz	w0, LBB0_17
; %bb.9:
	mov	x0, x27
	bl	_BN_window_bits_for_exponent_size
	stur	w0, [x29, #-92]                 ; 4-byte Folded Spill
	cmp	w0, #2
	b.lt	LBB0_22
; %bb.10:
	mov	x0, x28
	mov	x1, x19
	mov	x2, x19
	mov	x3, x22
	mov	x4, x20
	bl	_BN_mod_mul_montgomery
	mov	w21, #1
	cbz	w0, LBB0_42
; %bb.11:
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	sub	w8, w8, #1
	lsl	w8, w21, w8
	cmp	w8, #2
	b.lt	LBB0_23
; %bb.12:
	stur	x8, [x29, #-120]                ; 8-byte Folded Spill
	sub	x23, x8, #1
	mov	x26, x19
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	x21, x26, #8
	mov	x0, x21
	bl	_BN_init
	mov	x0, x21
	mov	x1, x26
	mov	x2, x28
	mov	x3, x22
	mov	x4, x20
	bl	_BN_mod_mul_montgomery
	cbz	w0, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x26, x21
	subs	x23, x23, #1
	b.ne	LBB0_13
; %bb.15:
	ldur	x8, [x29, #-120]                ; 8-byte Folded Reload
	mov	x21, x8
	b	LBB0_23
LBB0_16:
	mov	x0, x22
	bl	_BN_one
	mov	w23, #1
	b	LBB0_50
LBB0_17:
	mov	w23, #0
	mov	w21, #1
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	cbz	x8, LBB0_45
	b	LBB0_47
LBB0_18:
	bl	_BN_MONT_CTX_new
	cbz	x0, LBB0_21
; %bb.19:
	mov	x22, x0
	mov	x1, x21
	mov	x2, x20
	bl	_BN_MONT_CTX_set
	cbnz	w0, LBB0_6
; %bb.20:
	mov	w21, #0
	b	LBB0_42
LBB0_21:
	mov	x0, x20
	bl	_BN_CTX_end
	mov	w23, #0
	b	LBB0_50
LBB0_22:
	mov	w21, #1
LBB0_23:
	bl	_BN_value_one
	mov	x1, x0
	mov	x0, x25
	mov	x2, x22
	mov	x3, x20
	bl	_BN_to_montgomery
	cbz	w0, LBB0_42
; %bb.24:
	stur	w21, [x29, #-124]               ; 4-byte Folded Spill
	mov	w21, #0
	sub	w27, w27, #1
	mov	w23, #1
LBB0_25:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
	mov	x0, x24
	mov	x1, x27
	bl	_BN_is_bit_set
	cbnz	x0, LBB0_30
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	tbz	w21, #0, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x25
	mov	x1, x25
	mov	x2, x25
	mov	x3, x22
	mov	x4, x20
	bl	_BN_mod_mul_montgomery
	cbz	w0, LBB0_43
LBB0_28:                                ;   in Loop: Header=BB0_25 Depth=1
	cbz	w27, LBB0_41
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	sub	w27, w27, #1
	b	LBB0_25
LBB0_30:                                ;   in Loop: Header=BB0_25 Depth=1
	stur	w23, [x29, #-120]               ; 4-byte Folded Spill
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	cmp	w8, #2
	b.lt	LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	w28, #0
	sub	w21, w27, #1
	mov	w23, #1
	mov	w26, #1
LBB0_32:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	tbnz	w21, #31, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=2
	mov	x0, x24
	mov	x1, x21
	bl	_BN_is_bit_set
	sub	w8, w23, w28
	lsl	w8, w26, w8
	orr	w8, w8, #0x1
	cmp	x0, #0
	csel	w28, w28, w23, eq
	csel	w26, w26, w8, eq
	add	w23, w23, #1
	sub	w21, w21, #1
	ldur	w8, [x29, #-92]                 ; 4-byte Folded Reload
	cmp	w8, w23
	b.ne	LBB0_32
	b	LBB0_35
LBB0_34:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w28, #0
	mov	w26, #1
LBB0_35:                                ;   in Loop: Header=BB0_25 Depth=1
	cmp	w28, #0
	cset	w8, lt
	ldur	w9, [x29, #-120]                ; 4-byte Folded Reload
	orr	w8, w9, w8
	tbnz	w8, #0, LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_25 Depth=1
	add	w21, w28, #1
LBB0_37:                                ;   Parent Loop BB0_25 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	mov	x1, x25
	mov	x2, x25
	mov	x3, x22
	mov	x4, x20
	bl	_BN_mod_mul_montgomery
	cbz	w0, LBB0_43
; %bb.38:                               ;   in Loop: Header=BB0_37 Depth=2
	subs	w21, w21, #1
	b.ne	LBB0_37
LBB0_39:                                ;   in Loop: Header=BB0_25 Depth=1
	asr	w8, w26, #1
	add	x2, x19, w8, sxtw #3
	mov	x0, x25
	mov	x1, x25
	mov	x3, x22
	mov	x4, x20
	bl	_BN_mod_mul_montgomery
	cbz	w0, LBB0_43
; %bb.40:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	w23, #0
	mvn	w8, w28
	mov	w21, #1
	adds	w27, w27, w8
	b.pl	LBB0_25
LBB0_41:
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	mov	x1, x25
	mov	x2, x22
	mov	x3, x20
	bl	_BN_from_montgomery
	cmp	w0, #0
	cset	w23, ne
	b	LBB0_44
LBB0_42:
	mov	w23, #0
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	cbz	x8, LBB0_45
	b	LBB0_47
LBB0_43:
	mov	w23, #0
LBB0_44:
	ldur	w21, [x29, #-124]               ; 4-byte Folded Reload
	ldur	x8, [x29, #-112]                ; 8-byte Folded Reload
	cbnz	x8, LBB0_47
LBB0_45:
	cbz	x22, LBB0_47
; %bb.46:
	mov	x0, x22
	bl	_BN_MONT_CTX_free
LBB0_47:
	mov	x0, x20
	bl	_BN_CTX_end
	cmp	w21, #1
	b.lt	LBB0_50
; %bb.48:
	mov	w20, w21
LBB0_49:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_BN_clear_free
	add	x19, x19, #8
	subs	x20, x20, #1
	b.ne	LBB0_49
LBB0_50:
	ldur	x8, [x29, #-88]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_52
; %bb.51:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_52:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_TABLE_SIZE,4,2                 ; @TABLE_SIZE
.subsections_via_symbols
