	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MOD_EXP_CTIME_COPY_TO_PREBUF
_MOD_EXP_CTIME_COPY_TO_PREBUF:          ## @MOD_EXP_CTIME_COPY_TO_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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %eax
	movl	(%rdi), %ecx
	cmpl	%esi, %ecx
	cmovll	%ecx, %esi
	testl	%esi, %esi
	jle	LBB0_18
## %bb.1:
	movl	$1, %ebx
	movl	%r8d, %ecx
	shll	%cl, %ebx
	movq	8(%rdi), %r11
	cltq
	movslq	%ebx, %r10
	movl	%esi, %r9d
	xorl	%edi, %edi
	cmpl	$8, %esi
	jb	LBB0_13
## %bb.2:
	testl	%r8d, %r8d
	jne	LBB0_13
## %bb.3:
	leaq	(%rdx,%rax,4), %rcx
	subq	%r11, %rcx
	cmpq	$32, %rcx
	jae	LBB0_5
## %bb.4:
	xorl	%edi, %edi
	jmp	LBB0_13
LBB0_5:
	movl	%r9d, %edi
	andl	$-8, %edi
	leaq	-8(%rdi), %rcx
	movq	%rcx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.7:
	leaq	(,%rax,4), %rsi
	movq	%r8, %rcx
	andq	$-2, %rcx
	movq	%r10, %r14
	shlq	$5, %r14
	leaq	(%rsi,%rdx), %rbx
	addq	$16, %rbx
	movq	%r10, %r15
	shlq	$6, %r15
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%r11,%rsi,4), %xmm0
	movups	16(%r11,%rsi,4), %xmm1
	movups	%xmm0, -16(%rbx)
	movups	%xmm1, (%rbx)
	movups	32(%r11,%rsi,4), %xmm0
	movups	48(%r11,%rsi,4), %xmm1
	movups	%xmm0, -16(%rbx,%r14)
	movups	%xmm1, (%rbx,%r14)
	addq	$16, %rsi
	addq	%r15, %rbx
	addq	$-2, %rcx
	jne	LBB0_8
## %bb.9:
	testb	$1, %r8b
	je	LBB0_11
LBB0_10:
	movq	%rsi, %rcx
	imulq	%r10, %rcx
	addq	%rax, %rcx
	movups	(%r11,%rsi,4), %xmm0
	movups	16(%r11,%rsi,4), %xmm1
	movups	%xmm0, (%rdx,%rcx,4)
	movups	%xmm1, 16(%rdx,%rcx,4)
LBB0_11:
	cmpq	%r9, %rdi
	je	LBB0_18
## %bb.12:
	movq	%rdi, %rcx
	imulq	%r10, %rcx
	addq	%rcx, %rax
LBB0_13:
	movq	%rdi, %rsi
	notq	%rsi
	addq	%r9, %rsi
	movq	%r9, %rcx
	andq	$3, %rcx
	je	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rdi,4), %ebx
	movl	%ebx, (%rdx,%rax,4)
	incq	%rdi
	addq	%r10, %rax
	decq	%rcx
	jne	LBB0_14
LBB0_15:
	cmpq	$3, %rsi
	jb	LBB0_18
## %bb.16:
	leaq	(,%rax,4), %r8
	movq	%r10, %rsi
	shlq	$4, %rsi
	leaq	(%r10,%r10,2), %rcx
	leaq	(%r8,%rcx,4), %r14
	leaq	(%r8,%r10,8), %rcx
	addq	%r10, %rax
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r11,%rdi,4), %ebx
	movl	%ebx, (%rdx,%r8)
	movl	4(%r11,%rdi,4), %ebx
	movl	%ebx, (%rdx,%rax,4)
	movl	8(%r11,%rdi,4), %ebx
	movl	%ebx, (%rdx,%rcx)
	movl	12(%r11,%rdi,4), %ebx
	movl	%ebx, (%rdx,%r14)
	addq	$4, %rdi
	addq	%rsi, %rdx
	cmpq	%rdi, %r9
	jne	LBB0_17
LBB0_18:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_MOD_EXP_CTIME_COPY_TO_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_TO_PREBUF
_MOD_EXP_CTIME_COPY_TO_PREBUF:          ; @MOD_EXP_CTIME_COPY_TO_PREBUF
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w3 killed $w3 def $x3
	ldr	w8, [x0]
	cmp	w8, w1
	csel	w8, w8, w1, lt
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w9, #1
	lsl	w11, w9, w4
	ldr	x9, [x0, #8]
	sxtw	x10, w3
	sxtw	x11, w11
	cmp	w8, #16
	ccmp	w4, #0, #0, hs
	b.ne	LBB0_3
; %bb.2:
	lsl	x12, x10, #2
	add	x13, x12, x2
	sub	x12, x13, x9
	cmp	x12, #64
	b.hs	LBB0_7
LBB0_3:
	mov	x12, #0
LBB0_4:
	add	x10, x2, x10, lsl #2
	lsl	x11, x11, #2
	sub	x8, x8, x12
	add	x9, x9, x12, lsl #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9], #4
	str	w12, [x10]
	add	x10, x10, x11
	subs	x8, x8, #1
	b.ne	LBB0_5
LBB0_6:
	mov	w0, #1
	ret
LBB0_7:
	and	x12, x8, #0xfffffff0
	madd	x10, x12, x11, x10
	add	x13, x13, #32
	lsl	x14, x11, #6
	add	x15, x9, #32
	mov	x16, x12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x15, #-32]
	ldp	q2, q3, [x15], #64
	stp	q0, q1, [x13, #-32]
	stp	q2, q3, [x13]
	add	x13, x13, x14
	subs	x16, x16, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x12, x8
	b.eq	LBB0_6
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_MOD_EXP_CTIME_COPY_TO_PREBUF
.subsections_via_symbols
