	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timehist_export                ## -- Begin function timehist_export
	.p2align	4, 0x90
_timehist_export:                       ## @timehist_export
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	(%rdi), %rax
	cmpq	%rdx, %rax
	cmovbq	%rax, %rdx
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.2:
	movq	8(%rdi), %r9
	cmpq	$4, %rdx
	jae	LBB0_5
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_5:
	movq	%rdx, %rcx
	andq	$-4, %rcx
	leaq	-4(%rcx), %rax
	movq	%rax, %rdi
	shrq	$2, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$12, %rax
	jae	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movups	(%r9,%rax,8), %xmm0
	movups	16(%r9,%rax,8), %xmm1
	movups	%xmm0, (%rsi,%rax,8)
	movups	%xmm1, 16(%rsi,%rax,8)
	movups	32(%r9,%rax,8), %xmm0
	movups	48(%r9,%rax,8), %xmm1
	movups	%xmm0, 32(%rsi,%rax,8)
	movups	%xmm1, 48(%rsi,%rax,8)
	movups	64(%r9,%rax,8), %xmm0
	movups	80(%r9,%rax,8), %xmm1
	movups	%xmm0, 64(%rsi,%rax,8)
	movups	%xmm1, 80(%rsi,%rax,8)
	movups	96(%r9,%rax,8), %xmm0
	movups	112(%r9,%rax,8), %xmm1
	movups	%xmm0, 96(%rsi,%rax,8)
	movups	%xmm1, 112(%rsi,%rax,8)
	addq	$16, %rax
	addq	$-4, %rdi
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%rsi,%rax,8), %r10
	addq	$16, %r10
	leaq	(%r9,%rax,8), %rax
	addq	$16, %rax
	shlq	$5, %r8
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movups	-16(%rax,%rdi), %xmm0
	movups	(%rax,%rdi), %xmm1
	movups	%xmm0, -16(%r10,%rdi)
	movups	%xmm1, (%r10,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_11
	jmp	LBB0_12
LBB0_4:
	movq	(%r9,%rcx,8), %rax
	movq	%rax, (%rsi,%rcx,8)
	incq	%rcx
LBB0_12:
	cmpq	%rcx, %rdx
	jne	LBB0_4
LBB0_13:
	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	_timehist_export                ; -- Begin function timehist_export
	.p2align	2
_timehist_export:                       ; @timehist_export
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, x2
	csel	x9, x8, x2, lo
	cbz	x9, LBB0_9
; %bb.2:
	ldr	x8, [x0, #8]
	cmp	x9, #8
	b.hs	LBB0_4
; %bb.3:
	mov	x10, #0
	b	LBB0_7
LBB0_4:
	and	x10, x9, #0xfffffffffffffff8
	add	x11, x1, #32
	add	x12, x8, #32
	mov	x13, x10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #8
	b.ne	LBB0_5
; %bb.6:
	cmp	x9, x10
	b.eq	LBB0_9
LBB0_7:
	sub	x9, x9, x10
	lsl	x11, x10, #3
	add	x10, x1, x11
	add	x8, x8, x11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8], #8
	str	x11, [x10], #8
	subs	x9, x9, #1
	b.ne	LBB0_8
LBB0_9:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
