	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bn_expand2                     ## -- Begin function bn_expand2
	.p2align	4, 0x90
_bn_expand2:                            ## @bn_expand2
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_bn_check_top
	cmpl	%r14d, (%rbx)
	jge	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_bn_check_top
	movq	_BN_FLG_STATIC_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_BN_get_flags
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leal	8(,%r14,8), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	%rax, %r15
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.6:
	movl	4(%rbx), %edx
	movq	%rdi, %rcx
	movq	%r15, %rax
	cmpl	$4, %edx
	jl	LBB0_9
## %bb.7:
	movl	%edx, %esi
	shrl	$2, %esi
	incl	%esi
	movq	%r15, %rax
	movq	%rdi, %rcx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%rcx), %xmm0
	movups	16(%rcx), %xmm1
	movups	%xmm0, (%rax)
	movups	%xmm1, 16(%rax)
	addq	$32, %rax
	addq	$32, %rcx
	decl	%esi
	cmpl	$1, %esi
	ja	LBB0_8
LBB0_9:
	andl	$3, %edx
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_10:
	movq	16(%rcx), %rdx
	movq	%rdx, 16(%rax)
LBB0_11:
	movq	8(%rcx), %rdx
	movq	%rdx, 8(%rax)
LBB0_12:
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
LBB0_13:
	callq	_free
LBB0_14:
	movq	%r15, 16(%rbx)
	movl	%r14d, (%rbx)
	movslq	4(%rbx), %r12
	leaq	(%r15,%r12,8), %rdi
	movl	%r14d, %r13d
	subl	%r12d, %r13d
	cmpl	$8, %r13d
	jl	LBB0_16
## %bb.15:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r15d
	shrl	$3, %r15d
	testl	%r15d, %r15d
	movl	$1, %eax
	cmovlel	%r15d, %eax
	subl	%eax, %r15d
	movq	%r15, %rsi
	shlq	$6, %rsi
	addq	$64, %rsi
	callq	___bzero
	leaq	(%r12,%r15,8), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,8), %rdi
	addq	$64, %rdi
LBB0_16:
	testb	$7, %r13b
	je	LBB0_3
## %bb.17:
	subl	%r12d, %r14d
	shll	$3, %r14d
	andl	$56, %r14d
	movq	%r14, %rsi
	callq	___bzero
	jmp	LBB0_3
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_BN_FLG_STATIC_DATA,4,2         ## @BN_FLG_STATIC_DATA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bn_expand2                     ; -- Begin function bn_expand2
	.p2align	2
_bn_expand2:                            ; @bn_expand2
	.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	x20, x1
	mov	x19, x0
	bl	_bn_check_top
	ldr	w8, [x19]
	cmp	w8, w20
	b.ge	LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_bn_check_top
Lloh0:
	adrp	x8, _BN_FLG_STATIC_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BN_FLG_STATIC_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_BN_get_flags
	cbz	x0, LBB0_4
LBB0_2:
	mov	x19, #0
LBB0_3:
	mov	x0, x19
	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
LBB0_4:
	lsl	w8, w20, #3
	add	w0, w8, #8
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.5:
	mov	x21, x0
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_20
; %bb.6:
	ldr	w8, [x19, #4]
	mov	x10, x0
	mov	x9, x21
	cmp	w8, #4
	b.lt	LBB0_15
; %bb.7:
	lsr	w11, w8, #2
	sub	w12, w11, #1
	cmp	w12, #3
	b.hs	LBB0_9
; %bb.8:
	mov	x9, x21
	mov	x10, x0
	b	LBB0_13
LBB0_9:
	cmp	w8, #3
	cset	w9, hi
	sub	w9, w11, w9
	lsl	x9, x9, #5
	add	x9, x9, #32
	add	x10, x21, x9
	add	x9, x0, x9
	cmp	x21, x9
	ccmp	x0, x10, #2, lo
	mov	x9, x21
	mov	x10, x0
	b.lo	LBB0_13
; %bb.10:
	add	x12, x12, #1
	and	x13, x12, #0x1fffffffc
	lsl	x10, x13, #5
	add	x9, x21, x10
	add	x10, x0, x10
	sub	w11, w11, w13
	add	x14, x0, #64
	add	x15, x21, #64
	mov	x16, x13
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q0, [x14, #-64]
	ldp	q3, q2, [x14, #-32]
	ldp	q5, q4, [x14]
	ldp	q7, q6, [x14, #32]
	stp	q3, q2, [x15, #-32]
	stp	q1, q0, [x15, #-64]
	stp	q7, q6, [x15, #32]
	add	x14, x14, #128
	stp	q5, q4, [x15], #128
	subs	x16, x16, #4
	b.ne	LBB0_11
; %bb.12:
	cmp	x12, x13
	b.eq	LBB0_15
LBB0_13:
	add	w11, w11, #1
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10], #32
	stp	q0, q1, [x9], #32
	sub	w11, w11, #1
	cmp	w11, #1
	b.hi	LBB0_14
LBB0_15:
	and	w8, w8, #0x3
Lloh3:
	adrp	x11, lJTI0_0@PAGE
Lloh4:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_16
	ldrb	w13, [x11, x8]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_16:
	ldr	x8, [x10, #16]
	str	x8, [x9, #16]
LBB0_17:
	ldr	x8, [x10, #8]
	str	x8, [x9, #8]
LBB0_18:
	ldr	x8, [x10]
	str	x8, [x9]
LBB0_19:
	bl	_free
LBB0_20:
	str	x21, [x19, #16]
	str	w20, [x19]
	ldrsw	x22, [x19, #4]
	add	x0, x21, x22, lsl #3
	sub	w23, w20, w22
	cmp	w23, #8
	b.lt	LBB0_22
; %bb.21:
	lsr	w8, w23, #3
	cmp	w8, #1
	csinc	w9, w8, wzr, lt
	sub	w24, w8, w9
	lsl	x8, x24, #6
	add	x1, x8, #64
	bl	_bzero
	add	x8, x22, w24, uxtw #3
	add	x8, x21, x8, lsl #3
	add	x0, x8, #64
LBB0_22:
	tst	w23, #0x7
	b.eq	LBB0_3
; %bb.23:
	sub	w8, w20, w22
	lsl	w8, w8, #3
	and	x1, x8, #0x38
	bl	_bzero
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_19-LBB0_16)>>2
	.byte	(LBB0_18-LBB0_16)>>2
	.byte	(LBB0_17-LBB0_16)>>2
	.byte	(LBB0_16-LBB0_16)>>2
                                        ; -- End function
	.comm	_BN_FLG_STATIC_DATA,4,2         ; @BN_FLG_STATIC_DATA
.subsections_via_symbols
