	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MOD_EXP_CTIME_COPY_FROM_PREBUF
_MOD_EXP_CTIME_COPY_FROM_PREBUF:        ## @MOD_EXP_CTIME_COPY_FROM_PREBUF
	.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
	movl	%r8d, %r14d
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movl	$1, %ebx
	movl	%r14d, %ecx
	shll	%cl, %ebx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_bn_wexpand
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpl	$3, %r14d
	jg	LBB0_8
## %bb.3:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_14
## %bb.4:
	cmpl	$2, %ebx
	movl	$1, %r14d
	cmovgel	%ebx, %r14d
	movslq	%ebx, %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	shlq	$2, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -48(%rbp)
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12,%rbx,4), %r15d
	movl	%ebx, %edi
	movl	%r13d, %esi
	callq	_constant_time_eq_int
	andl	$1, %eax
	negl	%eax
	andl	%r15d, %eax
	orl	%eax, -48(%rbp)
	incq	%rbx
	cmpq	%rbx, %r14
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rcx,%rdx,4)
	movq	%rdx, %rax
	incq	%rax
	addq	-88(%rbp), %r12                 ## 8-byte Folded Reload
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	jne	LBB0_5
	jmp	LBB0_14
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_8:
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	addl	$-2, %r14d
	movl	$1, %ebx
	movl	%r14d, %ecx
	shll	%cl, %ebx
	movl	%r13d, %r15d
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	sarl	%cl, %r15d
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_constant_time_eq_int
	andl	$1, %eax
	negl	%eax
	movl	%eax, -48(%rbp)
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_constant_time_eq_int
	andl	$1, %eax
	negl	%eax
	movl	%eax, -100(%rbp)
	movl	%r15d, %edi
	movl	$2, %esi
	callq	_constant_time_eq_int
	andl	$1, %eax
	negl	%eax
	movl	%eax, -96(%rbp)
	movl	$3, %r14d
	movl	%r15d, %edi
	movl	$3, %esi
	callq	_constant_time_eq_int
	movl	$1, %r9d
	andl	$1, %eax
	negl	%eax
	movl	%eax, -92(%rbp)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_14
## %bb.9:
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %r14d
	leal	-1(%rbx), %esi
	andl	%r13d, %esi
	movslq	-56(%rbp), %rdi                 ## 4-byte Folded Reload
	movslq	%ebx, %rax
	addl	%ebx, %ebx
	movslq	%ebx, %rcx
	movslq	%r14d, %rdx
	cmpl	$2, %eax
	cmovgel	%eax, %r9d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	leaq	(%r12,%rdx,4), %r8
	shlq	$2, %rdi
	movq	%rdi, -120(%rbp)                ## 8-byte Spill
	leaq	(%r12,%rcx,4), %rdi
	leaq	(%r12,%rax,4), %r15
	xorl	%ecx, %ecx
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	-64(%rbp), %eax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	movl	%eax, (%rcx,%rbx,4)
	movq	%rbx, %rcx
	incq	%rcx
	movq	-120(%rbp), %rax                ## 8-byte Reload
	addq	%rax, %r8
	addq	%rax, %rdi
	addq	%rax, %r15
	addq	%rax, %r12
	cmpq	-112(%rbp), %rcx                ## 8-byte Folded Reload
	je	LBB0_14
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movl	$0, -64(%rbp)
	cmpl	$31, -60(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%ebx, %ebx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12,%rbx,4), %eax
	andl	-48(%rbp), %eax
	movl	(%r15,%rbx,4), %ecx
	andl	-100(%rbp), %ecx
	orl	%eax, %ecx
	movl	(%rdi,%rbx,4), %eax
	andl	-96(%rbp), %eax
	movl	(%r8,%rbx,4), %r13d
	andl	-92(%rbp), %r13d
	orl	%eax, %r13d
	orl	%ecx, %r13d
	movl	%ebx, %edi
	movl	%esi, %r14d
	movq	%r8, %r12
	callq	_constant_time_eq_int
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %r8
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	andl	$1, %eax
	negl	%eax
	andl	%r13d, %eax
	orl	%eax, -64(%rbp)
	incq	%rbx
	cmpq	%rbx, %r9
	jne	LBB0_12
	jmp	LBB0_13
LBB0_14:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%rcx)
	movq	_BN_FLG_FIXED_TOP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 12(%rcx)
	movl	$1, %eax
LBB0_15:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BN_FLG_FIXED_TOP,4,2           ## @BN_FLG_FIXED_TOP
	.no_dead_strip	_MOD_EXP_CTIME_COPY_FROM_PREBUF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MOD_EXP_CTIME_COPY_FROM_PREBUF
_MOD_EXP_CTIME_COPY_FROM_PREBUF:        ; @MOD_EXP_CTIME_COPY_FROM_PREBUF
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x23, x4
	mov	x22, x3
	mov	x21, x2
	mov	x20, x1
	mov	x28, x0
	bl	_bn_wexpand
	cbz	x0, LBB0_15
; %bb.1:
	mov	w8, #1
	lsl	w19, w8, w23
	cmp	w23, #3
	b.gt	LBB0_7
; %bb.2:
	cmp	w20, #1
	b.lt	LBB0_14
; %bb.3:
	mov	x24, #0
	cmp	w19, #1
	csinc	w25, w19, wzr, gt
	mov	w26, w20
	sbfiz	x19, x19, #2, #32
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x23, #0
	str	wzr, [sp, #60]
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w27, [x21, x23, lsl #2]
	mov	x0, x23
	mov	x1, x22
	bl	_constant_time_eq_int
	and	w8, w0, #0x1
	neg	w8, w8
	and	w8, w27, w8
	ldr	w9, [sp, #60]
	orr	w8, w8, w9
	str	w8, [sp, #60]
	add	x23, x23, #1
	cmp	x25, x23
	b.ne	LBB0_5
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [sp, #60]
	ldr	x9, [x28]
	str	w8, [x9, x24, lsl #2]
	add	x24, x24, #1
	add	x21, x21, x19
	cmp	x24, x26
	b.ne	LBB0_4
	b	LBB0_14
LBB0_7:
	str	x28, [sp, #32]                  ; 8-byte Folded Spill
	sub	w8, w23, #2
	mov	w24, #1
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	asr	w23, w22, w8
	mov	x0, x23
	mov	w1, #0
	bl	_constant_time_eq_int
	and	w8, w0, #0x1
	neg	w8, w8
	str	w8, [sp, #60]
	mov	x0, x23
	mov	w1, #1
	bl	_constant_time_eq_int
	and	w8, w0, #0x1
	neg	w8, w8
	str	w8, [sp, #56]
	mov	x0, x23
	mov	w1, #2
	bl	_constant_time_eq_int
	and	w8, w0, #0x1
	neg	w8, w8
	str	w8, [sp, #52]
	mov	w26, #3
	mov	x0, x23
	mov	w1, #3
	bl	_constant_time_eq_int
	and	w8, w0, #0x1
	neg	w8, w8
	str	w8, [sp, #48]
	str	w20, [sp, #12]                  ; 4-byte Folded Spill
	cmp	w20, #1
	b.lt	LBB0_13
; %bb.8:
	mov	x25, #0
	ldr	w11, [sp, #28]                  ; 4-byte Folded Reload
	lsl	w8, w24, w11
	lsl	w9, w8, #1
	sub	w10, w8, #1
	lsl	w11, w26, w11
	and	w22, w10, w22
	cmp	w8, #1
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	mov	w10, w10
	str	x10, [sp, #16]                  ; 8-byte Folded Spill
	csinc	w27, w8, wzr, gt
	add	x28, x21, w11, sxtw #2
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
	sbfiz	x19, x19, #2, #32
	add	x24, x21, w9, sxtw #2
	add	x26, x21, w8, sxtw #2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [sp, #44]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x9, [x9]
	str	w8, [x9, x25, lsl #2]
	add	x25, x25, #1
	add	x28, x28, x19
	add	x24, x24, x19
	add	x26, x26, x19
	add	x21, x21, x19
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	cmp	x25, x8
	b.eq	LBB0_13
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	str	wzr, [sp, #44]
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w8, #31
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x23, #0
LBB0_12:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x8, x23, #2
	ldr	w9, [x21, x8]
	ldr	w10, [sp, #60]
	and	w9, w10, w9
	ldr	w10, [x26, x8]
	ldr	w11, [sp, #56]
	and	w10, w11, w10
	orr	w9, w10, w9
	ldr	w10, [x24, x8]
	ldr	w11, [sp, #52]
	and	w10, w11, w10
	orr	w9, w9, w10
	ldr	w8, [x28, x8]
	ldr	w10, [sp, #48]
	and	w8, w10, w8
	orr	w20, w9, w8
	mov	x0, x23
	mov	x1, x22
	bl	_constant_time_eq_int
	and	w8, w0, #0x1
	neg	w8, w8
	and	w8, w20, w8
	ldr	w9, [sp, #44]
	orr	w8, w8, w9
	str	w8, [sp, #44]
	add	x23, x23, #1
	cmp	x27, x23
	b.ne	LBB0_12
	b	LBB0_9
LBB0_13:
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	ldr	x28, [sp, #32]                  ; 8-byte Folded Reload
LBB0_14:
Lloh0:
	adrp	x8, _BN_FLG_FIXED_TOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BN_FLG_FIXED_TOP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x28, #12]
	orr	w8, w9, w8
	stp	w20, w8, [x28, #8]
	mov	w0, #1
LBB0_15:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BN_FLG_FIXED_TOP,4,2           ; @BN_FLG_FIXED_TOP
	.no_dead_strip	_MOD_EXP_CTIME_COPY_FROM_PREBUF
.subsections_via_symbols
